//
//  ZBLiveMarquee.h
//  ZhiBo
//
//  Created by huangtie on 2017/11/29.
//  Copyright © 2017年 huangtie. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ZBLiveMarqueeDelegate <NSObject>

- (void)marqueeDidRunEnd;

@end

@interface ZBLiveMarquee : UIView

@property (nonatomic , assign) NSInteger space;

@property (nonatomic , assign) NSInteger moveCount;

@property (nonatomic , assign) id<ZBLiveMarqueeDelegate> delegate;

- (instancetype)initWithSize:(CGSize)size font:(UIFont *)font textColor:(UIColor *)color;

- (void)begin:(NSString *)text;

@end
